package com.ruoyi.biz.organization.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 项目信息对象 biz_company
 * 
 * @author Fei.Cong
 * @date 2023-04-21
 */
@TableName(value = "biz_company")
public class BizCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;


    /** 主键 */
    private String companyId;


    /** 关联主键 */
    private Long userId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String organizationName;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String organizationCode;

    /** 工商营业执照注册号 */
    @Excel(name = "工商营业执照注册号")
    private String licenseNum;

    /** 注册所在省(自治区、直辖市)(字典表：SYS_AREA) */
    @Excel(name = "注册所在省(自治区、直辖市)(字典表：SYS_AREA)")
    private String provinceNum;

    /** 注册所在地(市、州、盟)(字典表：SYS_AREA) */
    @Excel(name = "注册所在地(市、州、盟)(字典表：SYS_AREA)")
    private String cityNum;

    /** 注册所在县(区、市、旗)(字典表：SYS_AREA) */
    @Excel(name = "注册所在县(区、市、旗)(字典表：SYS_AREA)")
    private String countyNum;

    /** 企业营业地址 */
    @Excel(name = "企业营业地址")
    private String address;

    /** 企业营业地址邮政编码 */
    @Excel(name = "企业营业地址邮政编码")
    private String postalCode;

    /** 法定代表人姓名 */
    @Excel(name = "法定代表人姓名")
    private String legalMan;

    /** 法定代表人证件号码 */
    @Excel(name = "法定代表人证件号码")
    private String legalManIdcard;

    /** 法定代表人职务 */
    @Excel(name = "法定代表人职务")
    private String legalManDuty;

    /** 法定代表人职称 */
    @Excel(name = "法定代表人职称")
    private String legalManProtitle;

    /** 企业登记注册类型(字典表：TBECONTYPEDIC) */
    @Excel(name = "企业登记注册类型(字典表：TBECONTYPEDIC)")
    private String economicNum;

    /** 注册资本(万元) */
    @Excel(name = "注册资本(万元)")
    private BigDecimal regprin;

    /** 实收资金(万元) */
    @Excel(name = "实收资金(万元)")
    private BigDecimal factRegprin;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date corpbirthDate;

    /** 办公电话 */
    @Excel(name = "办公电话")
    private String officePhone;

    /** 传真号码 */
    @Excel(name = "传真号码")
    private String fax;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String linkMan;

    /** 联系人办公电话 */
    @Excel(name = "联系人办公电话")
    private String linkTel;

    /** 联系人手机号码 */
    @Excel(name = "联系人手机号码")
    private String linkPhone;

    /** 联系邮箱 */
    @Excel(name = "联系邮箱")
    private String email;

    /** 企业网址 */
    @Excel(name = "企业网址")
    private String url;

    /** 数据来源系统 */
    @Excel(name = "数据来源系统")
    private String dataSource;

    /** 企业净资产 */
    @Excel(name = "企业净资产")
    private BigDecimal assets;

    /** 是否外商投资 0:是；1：否 */
    @Excel(name = "是否外商投资 0:是；1：否")
    private String checkForeign;

    /** 企业类型 1：建设单位 2：勘察 4：施工 5：监理 10：劳务分包 11：专业分包 */
    @Excel(name = "企业类型 1：建设单位 2：勘察 4：施工 5：监理 10：劳务分包 11：专业分包")
    private String enterpriseType;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String businesssCope;

    /** 是否承诺 */
    @Excel(name = "是否承诺")
    private String isCommitment;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String deleteFlag;

    private Date oldTime;

    public Long getUserId() {
        return userId;
    }

    public Date getOldTime() {
        return oldTime;
    }

    public void setOldTime(Date oldTime) {
        this.oldTime = oldTime;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public void setOrganizationName(String organizationName)
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setOrganizationCode(String organizationCode) 
    {
        this.organizationCode = organizationCode;
    }

    public String getOrganizationCode() 
    {
        return organizationCode;
    }
    public void setLicenseNum(String licenseNum) 
    {
        this.licenseNum = licenseNum;
    }

    public String getLicenseNum() 
    {
        return licenseNum;
    }
    public void setProvinceNum(String provinceNum) 
    {
        this.provinceNum = provinceNum;
    }

    public String getProvinceNum() 
    {
        return provinceNum;
    }
    public void setCityNum(String cityNum) 
    {
        this.cityNum = cityNum;
    }

    public String getCityNum() 
    {
        return cityNum;
    }
    public void setCountyNum(String countyNum) 
    {
        this.countyNum = countyNum;
    }

    public String getCountyNum() 
    {
        return countyNum;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setLegalMan(String legalMan) 
    {
        this.legalMan = legalMan;
    }

    public String getLegalMan() 
    {
        return legalMan;
    }
    public void setLegalManIdcard(String legalManIdcard) 
    {
        this.legalManIdcard = legalManIdcard;
    }

    public String getLegalManIdcard() 
    {
        return legalManIdcard;
    }
    public void setLegalManDuty(String legalManDuty) 
    {
        this.legalManDuty = legalManDuty;
    }

    public String getLegalManDuty() 
    {
        return legalManDuty;
    }
    public void setLegalManProtitle(String legalManProtitle) 
    {
        this.legalManProtitle = legalManProtitle;
    }

    public String getLegalManProtitle() 
    {
        return legalManProtitle;
    }
    public void setEconomicNum(String economicNum) 
    {
        this.economicNum = economicNum;
    }

    public String getEconomicNum() 
    {
        return economicNum;
    }
    public void setRegprin(BigDecimal regprin) 
    {
        this.regprin = regprin;
    }

    public BigDecimal getRegprin() 
    {
        return regprin;
    }
    public void setFactRegprin(BigDecimal factRegprin) 
    {
        this.factRegprin = factRegprin;
    }

    public BigDecimal getFactRegprin() 
    {
        return factRegprin;
    }
    public void setCorpbirthDate(Date corpbirthDate) 
    {
        this.corpbirthDate = corpbirthDate;
    }

    public Date getCorpbirthDate() 
    {
        return corpbirthDate;
    }
    public void setOfficePhone(String officePhone) 
    {
        this.officePhone = officePhone;
    }

    public String getOfficePhone() 
    {
        return officePhone;
    }
    public void setFax(String fax) 
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }
    public void setLinkMan(String linkMan) 
    {
        this.linkMan = linkMan;
    }

    public String getLinkMan() 
    {
        return linkMan;
    }
    public void setLinkTel(String linkTel) 
    {
        this.linkTel = linkTel;
    }

    public String getLinkTel() 
    {
        return linkTel;
    }
    public void setLinkPhone(String linkPhone) 
    {
        this.linkPhone = linkPhone;
    }

    public String getLinkPhone() 
    {
        return linkPhone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setDataSource(String dataSource) 
    {
        this.dataSource = dataSource;
    }

    public String getDataSource() 
    {
        return dataSource;
    }
    public void setAssets(BigDecimal assets) 
    {
        this.assets = assets;
    }

    public BigDecimal getAssets() 
    {
        return assets;
    }
    public void setCheckForeign(String checkForeign) 
    {
        this.checkForeign = checkForeign;
    }

    public String getCheckForeign() 
    {
        return checkForeign;
    }
    public void setEnterpriseType(String enterpriseType) 
    {
        this.enterpriseType = enterpriseType;
    }

    public String getEnterpriseType() 
    {
        return enterpriseType;
    }
    public void setBusinesssCope(String businesssCope) 
    {
        this.businesssCope = businesssCope;
    }

    public String getBusinesssCope() 
    {
        return businesssCope;
    }
    public void setIsCommitment(String isCommitment) 
    {
        this.isCommitment = isCommitment;
    }

    public String getIsCommitment() 
    {
        return isCommitment;
    }
    public void setDeleteFlag(String deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("organizationName", getOrganizationName())
            .append("organizationCode", getOrganizationCode())
            .append("licenseNum", getLicenseNum())
            .append("provinceNum", getProvinceNum())
            .append("cityNum", getCityNum())
            .append("countyNum", getCountyNum())
            .append("address", getAddress())
            .append("postalCode", getPostalCode())
            .append("legalMan", getLegalMan())
            .append("legalManIdcard", getLegalManIdcard())
            .append("legalManDuty", getLegalManDuty())
            .append("legalManProtitle", getLegalManProtitle())
            .append("economicNum", getEconomicNum())
            .append("regprin", getRegprin())
            .append("factRegprin", getFactRegprin())
            .append("corpbirthDate", getCorpbirthDate())
            .append("officePhone", getOfficePhone())
            .append("fax", getFax())
            .append("linkMan", getLinkMan())
            .append("linkTel", getLinkTel())
            .append("linkPhone", getLinkPhone())
            .append("email", getEmail())
            .append("url", getUrl())
            .append("dataSource", getDataSource())
            .append("assets", getAssets())
            .append("checkForeign", getCheckForeign())
            .append("enterpriseType", getEnterpriseType())
            .append("businesssCope", getBusinesssCope())
            .append("isCommitment", getIsCommitment())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
